package com.xintonghua.bussiness.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 作者：wanxianyi
 * 时间：2018/3/11.
 * 包名：com.xintonghua.bussiness.bean
 */

public class ServiceItems implements Serializable{
    private String positionName;
    private int personalId;
    private double money;
    private String memberCardName;
    private String personalName;
    private int id;
    private String userName;
    private String memberCard;
    private List<StockProductsBean> stockProducts;

    @Override
    public String toString() {
        return "ServiceItems{" +
                "positionName='" + positionName + '\'' +
                ", personalId=" + personalId +
                ", money=" + money +
                ", memberCardName='" + memberCardName + '\'' +
                ", personalName='" + personalName + '\'' +
                ", id=" + id +
                ", userName='" + userName + '\'' +
                ", memberCard='" + memberCard + '\'' +
                ", stockProducts=" + stockProducts +
                '}';
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public int getPersonalId() {
        return personalId;
    }

    public void setPersonalId(int personalId) {
        this.personalId = personalId;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getMemberCardName() {
        return memberCardName;
    }

    public void setMemberCardName(String memberCardName) {
        this.memberCardName = memberCardName;
    }

    public String getPersonalName() {
        return personalName;
    }

    public void setPersonalName(String personalName) {
        this.personalName = personalName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMemberCard() {
        return memberCard;
    }

    public void setMemberCard(String memberCard) {
        this.memberCard = memberCard;
    }

    public List<StockProductsBean> getStockProducts() {
        return stockProducts;
    }

    public void setStockProducts(List<StockProductsBean> stockProducts) {
        this.stockProducts = stockProducts;
    }

    public static class StockProductsBean implements Serializable{
        /**
         * amount : 2
         * price : 100
         * name : 洗发水
         * id : 6
         */

        private int amount;
        private double price;
        private String name;
        private int id;

        @Override
        public String toString() {
            return "StockProductsBean{" +
                    "amount=" + amount +
                    ", price=" + price +
                    ", name='" + name + '\'' +
                    ", id=" + id +
                    '}';
        }

        public int getAmount() {
            return amount;
        }

        public void setAmount(int amount) {
            this.amount = amount;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }
    }
}
